package cn.anzhiyublog.staranimegallery.model.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 标签对象
 *
 * @author 安知一只鱼
 */
@Data
@TableName(value = "tag")
public class Tag implements Serializable {
    private static final long serialVersionUID = 5046467873095911210L;

    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 标签名
     */
    @TableField(value = "tag_name")
    private String tagName;

    /**
     * 可以改动 0可以 1不行
     */
    @TableField(value = "can_change")
    private Integer canChange;
}
